package com.project.fiveCerealsSavoury.service;

import java.util.List;

import com.project.fiveCerealsSavoury.domain.DeliveryDomain;
import com.project.fiveCerealsSavoury.exception.BizException;

public interface DeliveryService {
	/**
	 * 添加送货人
	 */
	public Integer add(DeliveryDomain  deliveryDomain);
	/**
	 * 模糊查询送货人
	 */
	public List<DeliveryDomain> list(String name)throws BizException;
	/**
	 * 根据订单查询
	 * @param orderId
	 * @return
	 */
	public DeliveryDomain query(Integer orderId)throws BizException;
	/**
	 * 查询所有送货人
	 */
	public  List<DeliveryDomain> querys();
}
